import { createApp } from 'vue'
// import './style.css'
import router from './router/index'
import ElementPlus from 'element-plus'
import {ElMessage} from 'element-plus'
// # 引入组件库
import ant from 'ant-design-vue'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import App from './App.vue'
// # 引入ant样式表
import 'ant-design-vue/dist/antd.css'
//引入Elmessage和Elloading的css样式文件
import 'element-plus/theme-chalk/el-loading.css';
import 'element-plus/theme-chalk/el-message.css';
// 引入axios
// import axios from './api/request'

createApp(App).use(router).use(ElementPlus, { locale }).use(ElMessage).use(ant).mount('#app')
// 全局引用axios
// app.config.globalProperties.$axios=axios;